package indi.woniu.service.impl;

import indi.woniu.entity.Pool;
import indi.woniu.mapper.MyPoolDao;
import indi.woniu.service.MyPoolService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MyPoolServiceImpl implements MyPoolService {
    @Autowired(required = false)
    private MyPoolDao myPoolDao;
    @Override
    public List<Pool> findPool() {
        List<Pool> poolList = myPoolDao.findPool();
        return poolList;
    }
}
